package com.sf.fy.uav.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author LTQ
 * @since 2023-11-23
 */
@TableName("record_module_duration")
@ApiModel(value = "RecordModuleDuration对象", description = "")
public class RecordModuleDuration implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("埋点编号")
    private String buriedPointNumber;

    @ApiModelProperty("模块（页面）编号，埋点的前缀编号")
    private String moduleNumber;

    @ApiModelProperty("父编号，二级Tab的时候需要用到")
    private String parentNumber;

    @ApiModelProperty("设备id")
    private String facilityId;

    @ApiModelProperty("ip地址")
    private String ipAddress;

    @ApiModelProperty("开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty("游客id")
    private String visitorId;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("用户手机号码")
    private String mobilePhone;

    @ApiModelProperty("时长")
    private Long duration;

    @ApiModelProperty("平台：1, \"丰翼配送\" 2, \"丰翼救援\"")
    private Integer platformCode;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("主题ID")
    private String subjectId;

    @ApiModelProperty("主题")
    private String subject;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBuriedPointNumber() {
        return buriedPointNumber;
    }

    public void setBuriedPointNumber(String buriedPointNumber) {
        this.buriedPointNumber = buriedPointNumber;
    }

    public String getModuleNumber() {
        return moduleNumber;
    }

    public void setModuleNumber(String moduleNumber) {
        this.moduleNumber = moduleNumber;
    }

    public String getParentNumber() {
        return parentNumber;
    }

    public void setParentNumber(String parentNumber) {
        this.parentNumber = parentNumber;
    }

    public String getFacilityId() {
        return facilityId;
    }

    public void setFacilityId(String facilityId) {
        this.facilityId = facilityId;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    public String getVisitorId() {
        return visitorId;
    }

    public void setVisitorId(String visitorId) {
        this.visitorId = visitorId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public Long getDuration() {
        return duration;
    }

    public void setDuration(Long duration) {
        this.duration = duration;
    }

    public Integer getPlatformCode() {
        return platformCode;
    }

    public void setPlatformCode(Integer platformCode) {
        this.platformCode = platformCode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(String subjectId) {
        this.subjectId = subjectId;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    @Override
    public String toString() {
        return "RecordModuleDuration{" +
                "id = " + id +
                ", buriedPointNumber = " + buriedPointNumber +
                ", moduleNumber = " + moduleNumber +
                ", parentNumber = " + parentNumber +
                ", facilityId = " + facilityId +
                ", ipAddress = " + ipAddress +
                ", startTime = " + startTime +
                ", endTime = " + endTime +
                ", visitorId = " + visitorId +
                ", userId = " + userId +
                ", mobilePhone = " + mobilePhone +
                ", duration = " + duration +
                ", platformCode = " + platformCode +
                ", createTime = " + createTime +
                ", subjectId = " + subjectId +
                ", subject = " + subject +
                "}";
    }
}
